package cn.qf.shop.pojo.qo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
public class ComplaintsQO  implements Serializable {
    /**
     * 投诉id
     */
    @ApiModelProperty(value="投诉id")
    private Integer compId;

    /**
     * 投诉人所属小区的id
     */
    @ApiModelProperty(value="投诉人所属小区的id")
    private Integer cellId;

    /**
     * 投诉人姓名
     */
    @ApiModelProperty(value="投诉人姓名")
    private String ownerName;

    /**
     * 投诉名称
     */
    @ApiModelProperty(value="投诉名称")
    private String compName;

    /**
     * 投诉事由
     */
    @ApiModelProperty(value="投诉事由")
    private String compCell;

    /**
     * 投诉时间
     */
    @ApiModelProperty(value="投诉时间")
    private Date createTime;

    /**
     * 修改时间
     */
    @ApiModelProperty(value="修改时间")
    private Date updateTime;

    /**
     * 是否匿名0->否,1->是
     */
    @ApiModelProperty(value="是否匿名0->否,1->是")
    private Integer status;

    /**
     * 是否删除0->N,1->Y
     */
    @ApiModelProperty(value="是否删除0->N,1->Y")
    private Integer isDel;

    private static final long serialVersionUID = 1L;

    public ComplaintsQO() {
    }

    public ComplaintsQO(Integer compId, Integer cellId, String ownerName, String compName, String compCell, Date createTime, Date updateTime, Integer status, Integer isDel) {
        this.compId = compId;
        this.cellId = cellId;
        this.ownerName = ownerName;
        this.compName = compName;
        this.compCell = compCell;
        this.createTime = createTime;
        this.updateTime = updateTime;
        this.status = status;
        this.isDel = isDel;
    }

    public Integer getCompId() {
        return compId;
    }

    public void setCompId(Integer compId) {
        this.compId = compId;
    }

    public Integer getCellId() {
        return cellId;
    }

    public void setCellId(Integer cellId) {
        this.cellId = cellId;
    }

    public String getOwnerName() {
        return ownerName;
    }

    public void setOwnerName(String ownerName) {
        this.ownerName = ownerName;
    }

    public String getCompName() {
        return compName;
    }

    public void setCompName(String compName) {
        this.compName = compName;
    }

    public String getCompCell() {
        return compCell;
    }

    public void setCompCell(String compCell) {
        this.compCell = compCell;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getIsDel() {
        return isDel;
    }

    public void setIsDel(Integer isDel) {
        this.isDel = isDel;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    @Override
    public String toString() {
        return "ComplaintsQO{" +
                "compId=" + compId +
                ", cellId=" + cellId +
                ", ownerName='" + ownerName + '\'' +
                ", compName='" + compName + '\'' +
                ", compCell='" + compCell + '\'' +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", status=" + status +
                ", isDel=" + isDel +
                '}';
    }
}
